<?php
require_once __Dir__ . '/../simpletest/autorun.php';
require_once __Dir__ . '/../../Core/BonoHomeCore/BonoHomeCoreService.php';

class TestOfRenameDocument extends UnitTestCase 
{
	/*
		Check a correct add answer
	*/
    function testCorrectRenameDocument() 
	{
		$path = 'c:/temp';
		$oldName = 'FolderTest';
		$newName = 'newFolderTest';
		
		//get documents from root
		$service = new BonoHomeCoreService();
		$response = $service->renameDocument($path, $newName, $oldName);

		$this->assertTrue($response->response == true);
    }
	
	
	/*
		Check an invalid add answer
	*/
    function testInvalidRenameDocument() 
	{
    }
}
?>